* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: white;
}

.wrapper{flex: 1;}

/* Navbar (From First Code) */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
  /*position: relative;*/
  z-index: 1000;
}

.logo {
  color: orange;
  font-size: 1.9em;
  font-weight: bold;
  text-shadow: 0 0 10px orange;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #00bfff;
  padding: 10px 16px;
  border: 4px solid orange;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px orange, inset 0 0 5px #ff8000;
  font-weight: 500;
}

.menu a:hover {
  color: #00bfff;
  border-color: #00bfff;
  box-shadow: 0 0 12px #00bfff, inset 0 0 5px #00bfff;
  transform: translateY(-3px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 4px;
  width: 25px;
  background: orange;
  margin-bottom: 5px;
  border-radius: 4px;
  box-shadow: 0 0 8px orange;
  transition: 0.3s;
}

h1 {
  text-align: center;
  font-size: 6em;
  color: orange;
  background: radial-gradient(circle, #1a1a1a, #0f0f0f);
  text-shadow: 0 0 5px orange;
  margin-top: 100px;
  margin-bottom: 40px;
  padding: 20px;
}
h2 {
  text-align: center;
  font-size: 3em;
  color: white;
  background: radial-gradient(circle, #1a1a1a, #0f0f0f);
  text-shadow: 0 0 5px orange;
  margin-bottom: 15px;
  padding: 10px;
}

.game-section {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}

.game-container {
  margin-bottom: 50px;
}

.game-title,
.game-desc {
  text-align: center;
}

/* ===== Slider Styling ===== */
.slider {
  position: relative;
  max-width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: #000;
}

.slide.active {
  opacity: 1;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .slide {
    object-fit: contain;
  }
}

/* ===== Navigation Arrows ===== */
.prev,
.next,
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 15px;
  z-index: 10;
  text-shadow: 0 0 10px #00bfff;
  background: none;
  border: none;
}

.prev,
.slider-arrow.left {
  left: 10px;
}

.next,
.slider-arrow.right {
  right: 10px;
}

/* ===== Dots ===== */
.dots,
.slider-dots {
  text-align: center;
  position: absolute;
  bottom: 2px;
  width: 100%;
  z-index: 20;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  background-color: #00bfff;
  transform: scale(1.2);
}

.dot.active,
.active-dot {
  background-color: orange;
  box-shadow: 0 0 8px orange;
}

/* ===== Platform Buttons ===== */
.platform-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: nowrap;
}


.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  background: #00f7ff;
  color: #0c0c0c;
  font-weight: bold;
  box-shadow: 0 0 15px #00f7ff;
  transition: background 0.3s, transform 0.3s;
  display: flex;               /* Center with Flexbox */
  align-items: center;         /* Vertical center */
  justify-content: center;     /* Horizontal center */
  text-align: center;
  white-space: nowrap;         /* Prevent text wrap */
}

.btn:hover {
 background: #00c7cc;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero {
    padding: 1.5rem;
  }

  .slider {
    height: 300px;
  }

  .slide {
    object-fit: contain;
    height: 100%;
  }

  .platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
  }

  .prev, .next {
    font-size: 2rem;
    padding: 0 10px;
  }

  .game-title {
    font-size: 1.4rem;
  }

  .game-desc {
    font-size: 1rem;
    padding: 0 1rem;
    
    text-align: center;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
  padding: 0 1rem;
  word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 220px;
  }

  .btn {
    font-size: 0.95rem;
  }

  .prev, .next {
    font-size: 1.8rem;
  }
}


/* Scroll Fade-In Effect */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.section-heading {
  font-size: 2.5em;
  color: #00bfff;
  margin-bottom: 40px;
  text-shadow: 0 0 10px;
}



/* Scroll To Top Button */
#scrollToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 45px;
  height: 45px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTop.visible {
  opacity: 1;
  pointer-events: auto;
  animation: pulse 2.5s infinite;
}

#scrollToTop svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 8px #98FF98);
  border-radius: 50%;
}

/*Pulse aniamtion*/
@keyframes pulse {
   0% {
      transform: scale(1);
      filter: drop-shadow(0 0 8px #98FF98); /* glow color in pules*/
}
50%{
     transform: scale (1.1);
     filter: drop-shadow(0 0 12px #98FF98);
 }
100%{
     transform: scale(1);
     filter: drop-shadow(0 0 8px #98FF98);
 }
}

/* Make SVG responsive for mobile */
@media (max-width: 480px) {
  #scrollToTop {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  #scrollToTop svg {
    filter: drop-shadow(0 0 6px orange);
  }
}

/* ========== Footer =========== */
.footer {
  background: linear-gradient(145deg, #1f1f1f, #0c0c0c);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -8px 20px rgba(255, 140, 0, 0.2);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: orange;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #00aaff;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.icon {
  width: 30px;
  height: 30px;
  background-size: cover;
  transition: transform 0.3s;
}

.icon:hover {
  transform: scale(1.2);
}

.linkedin {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/linkedin.svg');
  filter: invert(66%) sepia(68%) saturate(654%) hue-rotate(180deg);
}
.discord {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/discord.svg');
  filter: invert(66%) sepia(100%) saturate(600%) hue-rotate(220deg);
}
.instagram {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/instagram.svg');
  filter: invert(57%) sepia(77%) saturate(600%) hue-rotate(330deg);
}
.youtube {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/youtube.svg');
  filter: invert(54%) sepia(100%) saturate(500%) hue-rotate(350deg);
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 30px;
    background-color: #1a1a1a;
    flex-direction: column;
    width: 200px;
    border-radius: 10px;
    display: none;
    padding: 15px;
    box-shadow: 0 0 15px orange;
  }

  .menu a {
    margin-bottom: 10px;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}


/* ===== Course DETAILS ===== */

.course-details {
  max-width: 900px;
  margin: 25px auto;
  background: linear-gradient(145deg, #141414, #0b0b0b);
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.15);
}

.course-details summary {
  cursor: pointer;
  font-size: 1.25rem;
  color: #00bfff;
  text-align: center;
  font-weight: 700;
  padding: 12px;
  list-style: none;
  outline: none;
  user-select: none;
}

.course-details summary::-webkit-details-marker {
  display: none;
}

.course-details[open] summary {
  color: orange;
  text-shadow: 0 0 6px orange;
}

.course-details h4 {
  margin-top: 22px;
  color: orange;
  font-size: 1.2rem;
}

.course-details h5 {
  margin-top: 14px;
  color: #00f7ff;
  font-size: 1.05rem;
}

.course-details ul {
  padding-left: 22px;
  margin-top: 10px;
}

.course-details li {
  margin-bottom: 8px;
  color: #dcdcdc;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .course-details {
    padding: 18px;
  }

  .course-details summary {
    font-size: 1.1rem;
  }

  .course-details h4 {
    font-size: 1.1rem;
  }

  .course-details h5 {
    font-size: 1rem;
  }
}

details.course-details summary {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  border-radius: 10px;
  border: 1px solid rgba(0, 247, 255, 0.4);
}

details.course-details summary:hover {
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.6);
}



/* ===== Course DETAILS ===== */

